/***********************************************************************/
/*                                                                     */
/*  FILE        :heapdef.h                                             */
/*  DATE        :Thu, Dec 07, 2006                                     */
/*  DESCRIPTION :initialize the heap area.                             */
/*  CPU GROUP   :62P(ROM384K)                                          */
/*                                                                     */
/*  This file is generated by Renesas Project Generator (Ver.4.5).     */
/*                                                                     */
/***********************************************************************/

/***************************************************************************
 *  COMPILER for M16C/60,30,20,10
 *
 *  Copyright(c) 2004 Renesas Technology Corp.
 *  And Renesas Solutions Corp.,All Rights Reserved.
 *
 *
 * heapdef.h : heap size difinition
 *
 * This program is applicable when using the Memory Manager library
 *
 * $Date: 2005/11/08 09:33:51 $
 * $Revision: 1.9 $
 *
 **************************************************************************/
#ifdef __HEAP__
//extern	_UBYTE _far * _mbase; 
extern	_UBYTE _far * _mnext; 
extern	_UDWORD _msize; 
//////////////////////////////////////////
// It's size of heap
// When you want to change size of heap, 
// please change this line.
// When you change this line,
// you must modify the value using hex character.

#ifndef __HEAPSIZE__
#define __HEAPSIZE__	0x300
#endif
extern _UBYTE heap_area[__HEAPSIZE__];

#pragma inline heap_init()
void heap_init(void)
{
/*	_mbase = &heap_area[0];*/
	_mnext = &heap_area[0];
	_msize = __HEAPSIZE__;
}
#endif
